//
//  ChooseHBCellCollectionViewCell.m
//  JiJinFinance
//
//  Created by 李东晓 on 15/12/3.
//  Copyright © 2015年 LiDongXiao. All rights reserved.
//

#import "ChooseHBCellCollectionViewCell.h"

@implementation ChooseHBCellCollectionViewCell

-(id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        _LabelHBName = [[UILabel alloc]initWithFrame:CGRectMake(16, 16, 150, 15)];
        [_LabelHBName setFont:[UIFont boldSystemFontOfSize:15]];
        [_LabelHBName setBackgroundColor:[UIColor whiteColor]];
        [_LabelHBName setText:@"注册红包"];
        [_LabelHBName setTextColor:[UIColor blackColor]];
        [self addSubview:_LabelHBName];
        
        _LabelHBLimit = [[UILabel alloc]initWithFrame:CGRectMake(16, 45, 150, 15)];
        [_LabelHBLimit setFont:[UIFont systemFontOfSize:15]];
        [_LabelHBLimit setText:@"投资超过1000元可用"];
        [_LabelHBLimit setTextColor:RGBAColor(118, 118, 118, 1)];
        [self addSubview:_LabelHBLimit];
        
        _LabelRMB = [[UILabel alloc]initWithFrame:CGRectMake(267*D_width, 44, 36, 37)];
        [_LabelRMB setText:@"15"];
        [_LabelRMB setTextColor:[UIColor redColor]];
        [_LabelRMB setFont:[UIFont boldSystemFontOfSize:30]];
        [self addSubview:_LabelRMB];
        
        _Yuan = [[UILabel alloc]initWithFrame:CGRectMake(303*D_width, 60, 15, 14)];
        [_Yuan setText:@"元"];
        [_Yuan setFont:[UIFont boldSystemFontOfSize:14]];
        [_Yuan setTextColor:RGBAColor(118, 118, 118, 1)];
        [self addSubview:_Yuan];
        

    }
    
    return self;
}



@end
